Contacting a Content Provider Two
You currently have the code to display a list of TV shows (seen below), and now you want to display a list of actors. What, at the very least, would you change in the following code?
//Current code ContentResolver resolver = getContentResolver(); mData = resolver.query(TVContract.Shows.CONTENT_URI, null, null, null, null);
Look at the TVContract and pick a different URI
Change app permissions
Change the method called on the ContentResolver
Change the ContentResolver class to the correct ContentProvider class to access the data directly
Next Concept